package pojo;

import java.util.List;

//菜单类
public class Tclassify {
    private int id;
    private String classifyName;
    private int parentId;
    private int type;
    private String icon;

    List<Tclassify> tclassifys;

    public List<Tclassify> getTclassifys() {
        return tclassifys;
    }

    List<Tgoods> tgoods;

    public List<Tgoods> getTgoods() {
        return tgoods;
    }

    public void setTgoods(List<Tgoods> tgoods) {
        this.tgoods = tgoods;
    }

    public void setTclassifys(List<Tclassify> tclassifys) {
        this.tclassifys = tclassifys;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Tclassify() {
    }

    public Tclassify(int id, String classifyName, int parentId, int type, String icon) {
        this.id = id;
        this.classifyName = classifyName;
        this.parentId = parentId;
        this.type = type;
        this.icon = icon;
    }
}
